package tmp;

import java.util.ArrayList;
import java.util.List;

/**
 * @author brendan
 */
public class AmazonProduct {

	private String SKU;
	private String title;
	private boolean active;
	private String variationTheme;
	private List variants = new ArrayList();
  private List orders = new ArrayList();
	
	/**
	 * @return Returns the active.
	 */
	public boolean isActive() {
		return active;
	}
	/**
	 * @param active The active to set.
	 */
	public void setActive(boolean active) {
		this.active = active;
	}
	/**
	 * @return Returns the sKU.
	 */
	public String getSKU() {
		return SKU;
	}
	/**
	 * @param sku The sKU to set.
	 */
	public void setSKU(String sku) {
		SKU = sku;
	}
	/**
	 * @return Returns the title.
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title The title to set.
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return Returns the variationTheme.
	 */
	public String getVariationTheme() {
		return variationTheme;
	}
	/**
	 * @param variationTheme The variationTheme to set.
	 */
	public void setVariationTheme(String variationTheme) {
		this.variationTheme = variationTheme;
	}
	/**
	 * @return Returns the variants.
	 */
	public List getVariants() {
		return variants;
	}
	/**
	 * @param variants The variants to set.
	 */
	public void setVariants(List variants) {
		this.variants = variants;
	}
	
	public void addVariant(AmazonVariant v){
		variants.add(v);
	}
  public List getOrders() {
    return orders;
  }
  public void setOrders(List orders) {
    this.orders = orders;
  }
  public void addOrder(AmazonOrder o){
    orders.add(o);
  }
}
